<?php $this->pageTitle=Yii::app()->name . ' - '."Mudar Senha";
?>

<h2 align="center"><?php echo "Mudar Senha do Usuario"; ?></h2>
<br/>

<div class="form">
<?php echo CHtml::beginForm(); ?>

	<p class="note"><?php echo 'Campos com <span class="required">*</span> São obrigatórios.'; ?></p>
	<?php echo CHtml::errorSummary($form); ?>
	
	<div class="row">
	<?php echo CHtml::activeLabelEx($form,'password'); ?>
	<?php echo CHtml::activePasswordField($form,'password'); ?>
	<p class="hint">
	<?php echo "Tamanho mínimo 4 caracteres."; ?>
	</p>
	</div>
	
	<div class="row">
	<?php echo CHtml::activeLabelEx($form,'verifyPassword'); ?>
	<?php echo CHtml::activePasswordField($form,'verifyPassword'); ?>
	</div>
	
	<div align="center" class="form-actions" style="margin-left:50px;">
	<?php 
	$this->widget('bootstrap.widgets.TbButton', array(
		'buttonType'=>'link',
		'type'=>'primary',
		'label'=>' Cancelar ',
		'htmlOptions'=>array('submit' => 'http://'.
			$_SERVER['HTTP_HOST'].Yii::app()->request->baseUrl.
			'/index.php',
	))); 
	echo " ";
	?>
	<?php 
	$this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>' Confirmar ',
	)); 
	?>
	</div>

<?php echo CHtml::endForm(); ?>
</div><!-- form -->